#include <stdio.h>
#include <math.h>
#include <time.h>

int main(int argc, char *argv[])
{
    srand((unsigned)time(NULL)) ; //srand()返回
    for (int i = 0; i < 1000; i++)
    {
        random_user();
    }
    

    return 0;
}

void random_user(void)
{
    int roll;
    // srand((unsigned)time(NULL)) % n+1; //srand()返回
    printf("srand((unsigned)time(NULL)) = %d\n",rand());
    
    return 0;
}

